from django.db import models
from sync.models import SFObject,SFField
from django.db.models import Q
from django.db import connection, transaction
from wizard.models.view import View
from django.http import HttpResponseRedirect

class CustomView(View):
    custome_url= models.CharField(max_length=255,null=True)
    class Meta:
        db_table = 'wizard_custom_view'
        app_label = 'wizard'
    """
    View using functions
    """
    def respons(self,request,dev=False):
        return HttpResponseRedirect(self.custome_url)
    def load(self,request):
        pass
    def get_where(self):
        pass
    def get_sort(self):
        pass
    def render(self):
        pass
    def save_form(self,request):
        pass
